﻿<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:tlk="http://schemas.microsoft.com/wpf/2008/toolkit">
    
    
    
    <Style x:Key="HeaderStyle" TargetType="{x:Type tlk:DataGridColumnHeader}" BasedOn="{StaticResource controlOMANE}">
        <Setter Property="VerticalContentAlignment" Value="Center" />
        <Setter Property="HorizontalContentAlignment" Value="Center" />
        <Setter Property="Background" Value="{StaticResource DegradeBckBtn}" />
        <Setter Property="BorderThickness" Value="0,0,1,1" />
        <Setter Property="BorderBrush" Value="{StaticResource BrushCouleur1Base}" />
    </Style>

    <Pen x:Key="OMANE_HorizontalGridLinePen">
        <Pen.DashStyle>
            <DashStyle Dashes="2.8" />
        </Pen.DashStyle>
    </Pen>
    
    <Style x:Key="OMANE_DataGridStyle" TargetType="{x:Type tlk:DataGrid}">
        <Setter Property="AutoGenerateColumns" Value="False" />
        <Setter Property="BorderThickness" Value="0" />
        <Setter Property="ColumnHeaderStyle" Value="{StaticResource HeaderStyle}" />
        <Setter Property="HorizontalGridLinesBrush" Value="{StaticResource BrushCouleur1Base}" />
        <Setter Property="VerticalGridLinesBrush" Value="{StaticResource BrushCouleur1Base}" />
    </Style>
    
</ResourceDictionary>
